#ifndef UDPTHREADWORKER_H
#define UDPTHREADWORKER_H

#include <QObject>

#include "../lib/socketsync.h"

class UDPThreadWorker : public QObject
{
    Q_OBJECT
public:
    explicit UDPThreadWorker(QObject *parent = 0);
    ~UDPThreadWorker();
    SocketSync *m_socket;
    
signals:
    void response(QString,QString);
    void push(QString);
    
public slots:
    void sendMsg(QString method, QString msg);
    void processPendingDatagram();

    
};

#endif // UDPTHREADWORKER_H
